import { ChatIconBo } from '@/interface/home';

export enum AnswerType {
  BOT = 'bot',
  USER = 'user',
  SUCCESS = 'success',
  ASSISTANT = 'assistant',
}

export enum ChatIconEvent {
  COPY = 'copy',
  UP = 'up',
  DOWN = 'down',
  REFRESH = 'refresh',
  SHARE = 'share',
}

export const handleClickMap: ChatIconBo[] = [
  {
    icon: 'copy',
    event: ChatIconEvent.COPY,
    title: '复制',
  },
  {
    icon: 'thumb-up-2',
    event: ChatIconEvent.UP,
    title: '点赞',
  },
  {
    icon: 'thumb-down-2',
    event: ChatIconEvent.DOWN,
    title: '点踩',
  },
  {
    icon: 'refresh',
    event: ChatIconEvent.REFRESH,
    title: '重新生成',
  },
  {
    icon: 'share-1',
    event: ChatIconEvent.SHARE,
    title: '分享',
  },
];
